package com.github.tangmonkmeat;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
import java.util.TreeSet;

/**
 * Description:
 *
 * @author zwl
 * @version 1.0
 * @date 2021/8/20 上午8:55
 */
public class 无重复子字符串长度 {

    public static void main(String[] args) {

        HashSet<Character> treeSet = new HashSet<>();

        boolean a = treeSet.add('a');


        System.out.println(a);

        boolean a1 = treeSet.add('a');

        System.out.println(a1);

    }

}
